package com.th.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author ThreePure
 * @date 20/12/16 20:09
 * @description:user表的实体类
 * 使用Lombok来简化了POJO
 * @Getter and @Setter
 * @FieldNameConstants
 * @ToString
 * @EqualsAndHashCode
 * @AllArgsConstructor,全部参数的构造方法 @RequiredArgsConstructor and @NoArgsConstructor无参构造
 * @Log, @Log4j, @Log4j2, @Slf4j, @XSlf4j, @CommonsLog, @JBossLog, @Flogger, @CustomLog
 * @Data  最常用 包含 无参构造、getter和setter方法，equals（）、hashCode（），toString（）
 * @Builder
 * @SuperBuilder
 * @Singular
 * @Delegate
 * @Value
 * @Accessors
 * @Wither
 * @With
 * @SneakyThrows
 * @val
 * @var
 * experimental @var
 * @UtilityClass
 * @since 1.8
 */
//@Alias("Users")
@AllArgsConstructor
@NoArgsConstructor
@Data
public class User {
    private int id;
    private String name;
    private String pwd;

}
